Optimal. Leaf size=75 \[ \frac {\tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{4 c^{3/2} d^2}-\frac {\sqrt {a+b x+c x^2}}{2 c d^2 (b+2 c x)} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {684, 621, 206} \begin {gather*} \frac {\tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{4 c^{3/2} d^2}-\frac {\sqrt {a+b x+c x^2}}{2 c d^2 (b+2 c x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 621
Rule 684
Rubi steps
\begin {align*} \int \frac {\sqrt {a+b x+c x^2}}{(b d+2 c d x)^2} \, dx &=-\frac {\sqrt {a+b x+c x^2}}{2 c d^2 (b+2 c x)}+\frac {\int \frac {1}{\sqrt {a+b x+c x^2}} \, dx}{4 c d^2}\\ &=-\frac {\sqrt {a+b x+c x^2}}{2 c d^2 (b+2 c x)}+\frac {\operatorname {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x}{\sqrt {a+b x+c x^2}}\right )}{2 c d^2}\\ &=-\frac {\sqrt {a+b x+c x^2}}{2 c d^2 (b+2 c x)}+\frac {\tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{4 c^{3/2} d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.29, size = 114, normalized size = 1.52 \begin {gather*} \frac {\sqrt {a+x (b+c x)} \left (\frac {\sinh ^{-1}\left (\frac {b+2 c x}{\sqrt {c} \sqrt {4 a-\frac {b^2}{c}}}\right )}{\sqrt {4 a-\frac {b^2}{c}} \sqrt {\frac {c (a+x (b+c x))}{4 a c-b^2}}}-\frac {2 \sqrt {c}}{b+2 c x}\right )}{4 c^{3/2} d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.42, size = 86, normalized size = 1.15 \begin {gather*} -\frac {\log \left (-2 c^{3/2} d^2 \sqrt {a+b x+c x^2}+b c d^2+2 c^2 d^2 x\right )}{4 c^{3/2} d^2}-\frac {\sqrt {a+b x+c x^2}}{2 c d^2 (b+2 c x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 189, normalized size = 2.52 \begin {gather*} \left [\frac {{\left (2 \, c x + b\right )} \sqrt {c} \log \left (-8 \, c^{2} x^{2} - 8 \, b c x - b^{2} - 4 \, \sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {c} - 4 \, a c\right ) - 4 \, \sqrt {c x^{2} + b x + a} c}{8 \, {\left (2 \, c^{3} d^{2} x + b c^{2} d^{2}\right )}}, -\frac {{\left (2 \, c x + b\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{2} + b c x + a c\right )}}\right ) + 2 \, \sqrt {c x^{2} + b x + a} c}{4 \, {\left (2 \, c^{3} d^{2} x + b c^{2} d^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.60, size = 215, normalized size = 2.87 \begin {gather*} -\frac {1}{4} \, d^{2} {\left (\frac {\arctan \left (\frac {\sqrt {-\frac {b^{2} c d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} + \frac {4 \, a c^{2} d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} + c}}{\sqrt {-c}}\right ) \mathrm {sgn}\left (\frac {1}{2 \, c d x + b d}\right ) \mathrm {sgn}\relax (c) \mathrm {sgn}\relax (d)}{\sqrt {-c} c d^{4} {\left | c \right |}} - \frac {{\left (\sqrt {c} \arctan \left (\frac {\sqrt {c}}{\sqrt {-c}}\right ) + \sqrt {-c}\right )} \mathrm {sgn}\left (\frac {1}{2 \, c d x + b d}\right ) \mathrm {sgn}\relax (c) \mathrm {sgn}\relax (d)}{\sqrt {-c} c^{\frac {3}{2}} d^{4} {\left | c \right |}} + \frac {\sqrt {-\frac {b^{2} c d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} + \frac {4 \, a c^{2} d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} + c} \mathrm {sgn}\left (\frac {1}{2 \, c d x + b d}\right ) \mathrm {sgn}\relax (c) \mathrm {sgn}\relax (d)}{c^{2} d^{4} {\left | c \right |}}\right )} {\left | c \right |} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 291, normalized size = 3.88 \begin {gather*} \frac {a \ln \left (\left (x +\frac {b}{2 c}\right ) \sqrt {c}+\sqrt {\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}}\right )}{\left (4 a c -b^{2}\right ) \sqrt {c}\, d^{2}}-\frac {b^{2} \ln \left (\left (x +\frac {b}{2 c}\right ) \sqrt {c}+\sqrt {\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}}\right )}{4 \left (4 a c -b^{2}\right ) c^{\frac {3}{2}} d^{2}}+\frac {\sqrt {\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}}\, x}{\left (4 a c -b^{2}\right ) d^{2}}+\frac {\sqrt {\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}}\, b}{2 \left (4 a c -b^{2}\right ) c \,d^{2}}-\frac {\left (\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}\right )^{\frac {3}{2}}}{\left (4 a c -b^{2}\right ) \left (x +\frac {b}{2 c}\right ) c \,d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {c\,x^2+b\,x+a}}{{\left (b\,d+2\,c\,d\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {\sqrt {a + b x + c x^{2}}}{b^{2} + 4 b c x + 4 c^{2} x^{2}}\, dx}{d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________